import request from '@/http'
import config from '@/http/config'
const api = `${config.view.ip}/api/view`

// 获取概览列表
export const list = (params) => request.post(`${api}/overview/list`, params)

// 获取概览基本信息
export const otherInformation = params => request.post(`${api}/overview/otherInformation`, {
  leixing: params.leixing,
  anjianbh: params.anjianbh,
  juedingh: params.juedingh
})

/* DLJ APPEND START */
/*
* 导出决定全文
*/
export const exportDecision = () => request({
  url:`${config.base.ip}/export/decision`,
  method:'post'
})

/*
* 导出案件基本信息
*/
export const exportCaseBasicInformation = () => request({
  url:`${config.base.ip}/export/caseBasicInformation`,
  method:'post'
})

/*
* 导出案件详细信息
*/
export const exportCaseCaseDetails= () => request({
  url:`${config.base.ip}/export/caseDetails`,
  method:'post'
})

/*
* 导出概览数据
*/
export const exportOverviewData = () => request({
  url:`${config.base.ip}/export/overviewData`,
  method:'post'
})
/* DLJ APPEND END */
